import request from '@/utils/request'

export function appInfoList(query) {
  return request({
    url: '/application/list',
    method: 'get',
    params: query
  })
}

export function appAdd(data) {
  return request({
    url: '/application',
    method: 'post',
    data
  })
}

export function appUpdate(id, data) {
  return request({
    url: `/application/${id}`,
    method: 'put',
    data
  })
}
